<?php
class FrontendController extends Controller
{
	public $layout= null;
	public $layoutPath;
	public $menu=array();
	public $breadcrumbs=array();
	public function init() {
        parent::init();
        $this->layoutPath = Yii::getPathOfAlias('application.modules.store.views.frontend.layouts.main');
        $this->layout = 'application.modules.store.views.frontend.layouts.main';          
    }
    //  public function beforeRender($view) {
    //  	parent::beforeRender($view);
    //     $this->redirect (Yii::app ()->createAbsoluteUrl ('store/frontend/site/index'));
    //     return true;      
    // }  
}